package com.ruoyi.project.system.domain;

import com.ruoyi.framework.web.domain.BaseEntity;
import org.springframework.data.annotation.Id;

import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author jjp
 * @since 2019-12-11
 */
public class SysType extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 食品分类表
     */
    @Id
    private Long typeId;

    private Long deptId;
    /**
     * 食品种类名称
     */
    private String name;
    /**
     * 种类描述
     */
    private String description;


    private List<SysFood> foodList;


    public Long getTypeId() {
        return typeId;
    }

    public void setTypeId(Long typeId) {
        this.typeId = typeId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }


    public List<SysFood> getFoodList() {
        return foodList;
    }

    public void setFoodList(List<SysFood> foodList) {
        this.foodList = foodList;
    }

    @Override
    public String toString() {
        return "SysType{" +
        ", typeId=" + typeId +
        ", deptId=" + deptId +
        ", name=" + name +
        ", description=" + description +
        "}";
    }
}
